* {
    margin: 0;
    padding: 0;
}

body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto !important;
    font: "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
    color: #000;
    background: #f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    /*  为了解决 (移动端上）有事件监听的元素被点击的时候会被高亮显示 */
}

div {
    box-sizing: border-box;
}

ul li {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: #000;
    font-size: 12px;
    display: block;
}

.header {
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 44px;
    min-width: 320px;
    max-width: 540px;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    background-color: #F6F6F6;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.header a {
    width: 44px;
    height: 44px;
    color: #2eaae0;
    text-align: center;
    font-size: 12px;
}

.search {
    display: flex;
    position: relative;
    height: 26px;
    flex: 1;
    border: 1px solid #ccc;
    margin-left: 8px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
    align-items: center;
}

.search-icon {
    display: block;
    width: 15px;
    height: 15px;
    background: url('../images/sprite.png') no-repeat;
    background-position: -59px -279px;
    background-size: 104px auto;
    margin-left: 5px;
}

.search input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 12px;
    flex: 1;
    margin-left: 3px;
}

.user-icon {
    display: block;
    height: 23px;
    width: 23px;
    background: url(../images/sprite.png) no-repeat -59px -194px;
    background-size: 104px auto;
    margin: 6px auto 0px;
}

.focus {
    padding-top: 44px;
}

.focus img {
    width: 100%;
}

.local-nav {
    height: 64px;
    background-color: #fff;
    border-radius: 8px;
    margin: 3px 4px;
    display: flex;
    text-align: center;
}

.local-nav-icon {
    display: block;
    width: 32px;
    height: 32px;
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    background-size: 32px auto;
    margin: 8px auto 4px;
}

.local-nav li {
    flex: 1
}

.icon1 {
    background-position: 0 0;
}

.icon2 {
    background-position: 0 -32px;
}

.icon3 {
    background-position: 0 -64px;
}

.icon4 {
    background-position: 0 -96px;
}

.icon5 {
    background-position: 0 -128px;
}

.nav {
    border-radius: 8px;
    margin: 0 4px 3px;
    overflow: hidden;
}

.nav-common {
    height: 68px;
    display: flex;
    border-bottom: solid 1px #fff;
}

.nav-common:last-child {
    border-bottom: none;
}

.nav-item {
    flex: 1;
    display: flex;
    border-right: solid 1px #fff;
    line-height: 68px;
}

.nav-item a {
    text-align: center;
    flex: 1;
    color: #fff;
    font-size: 14px;
    text-shadow: 1px 1px rgba(0, 0, 0, .2);
}

.nav-item a:nth-child(2) {
    border-left: solid 1px #fff;
}

.item-flex2 {
    flex: 2;
}

.item-flex1 {
    flex: 1.5;
}

.nav-item:last-child {
    border-right: none;
}

.nav-common:nth-child(1) {
    background: -webkit-linear-gradient(left, #FA5A55, #FA994D);
}

.nav-common:nth-child(2) {
    background: -webkit-linear-gradient(left, #4B90ED, #53BCED);
}

.nav-common:nth-child(3) {
    background: -webkit-linear-gradient(left, #34C2A9, #6CD559);
}

.hotel {
    background: url(../images/hotel.png) no-repeat -26px 22px;
    background-size: 150px auto;
    flex: 1.5;
}

.subnav-entry {
    display: flex;
    flex-flow: wrap;
    margin: 0px 4px;
    background-color: #fff;
    border-radius: 8px;
}

.subnav-entry li {
    flex: 20%;
    margin: 12px 0;
}

.subnav-entry li a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subnav-icon {
    display: block;
    width: 28px;
    height: 28px;
    background-size: 28px auto;
    background: url(../images/subnav-bg.png) no-repeat;
    background-size: 28px auto;
    margin: 0px 0 8px;
}

.subIcon2 {
    background-position: 0 -28px;
}

.subIcon3 {
    background-position: 0 -60px;
}

.subIcon4 {
    background-position: 0 -95px;
}

.subIcon5 {
    background-position: 0 -126px;
}

.subIcon6 {
    background-position: 0 -160px;
}

.subIcon7 {
    background-position: 0 -196px;
}

.subIcon8 {
    background-position: 0 -224px;
}

.subIcon9 {
    background-position: 0 -254px;
}

.subIcon10 {
    background-position: 4px -284px;
}

.sales-box {
    border-top: 1px solid #bbb;
    background-color: #fff;
    margin: 4px;
}

.row {
    display: flex;
}

.sales-hd {
    height: 66px;
    background-color: #fff;
    border-bottom: solid 1px #ccc;
    position: relative;
}

.row a {
    flex: 1;
}

.row a img {
    width: 100%;
}

.hot {
    background: url(../images/hot.png) no-repeat 0 -20px;
    width: 79px;
    height: 15px;
    display: block;
    background-size: 79px auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
}

.sales-hd a {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 5px;
    color: #fff;
    background: -webkit-linear-gradient(left, #FF506C, #FF6BC6);
    border-radius: 15px;
    padding: 3px 20px 3px 10px;
    font-size: 14px;
}

.sales-hd a::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 9px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}

.airplane {
    background: url(../images/sprite.png) no-repeat 20px -407px;
    background-size: 150px auto;
    flex: 1.5;
}

.travel {
    background: url(../images/sprite.png) no-repeat 22px -253px;
    background-size: 150px auto;
    flex: 1.5;
}